package cn.com.nes.mybatis.agent.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author nes
 * @since 2023-05-30
 */
@Data
@TableName("t_agent_facturer")
public class TAgentFacturer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 代理商ID
     */
    @TableField("agent_id")
    private String agentId;
    /**
     * 厂商ID
     */
    @TableField("facturer_id")
    private String facturerId;
    /**
     * 是否删除:1:表示删除，0:表示未删除
     */
    private Integer deleted;
    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private Date gmtCreate;

    /**
     * 创建人ID
     */
    @TableField("gmt_create_id")
    private Long gmtCreateId;

    /**
     * 修改时间
     */
    @TableField("gmt_modified")
    private Date gmtModified;

    /**
     * 修改人ID
     */
    @TableField("gmt_modidied_id")
    private Long gmtModidiedId;

    public static final String ID = "id";

    public static final String AGENTID = "agent_id";

    public static final String FACTURERID = "facturer_id";

    public static final String DELETED = "deleted";

    public static final String CREATETIME = "gmt_create";

}
